﻿<UserControl x:Class="Acceron.Univerisy.Modules.Scheduling.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
        mc:Ignorable="d" 
        d:DesignHeight="300" d:DesignWidth="633">

    <Grid Name="mainGrid" >
        <Grid.Resources>

        </Grid.Resources>

        <ScrollViewer Margin="0,61,0,0" HorizontalScrollBarVisibility="Auto">
            <StackPanel Name="stackPanel1" CanVerticallyScroll="False">
            </StackPanel>
        </ScrollViewer>
        <Label Content="Label" Height="28" HorizontalAlignment="Left" Name="label1" VerticalAlignment="Top" Width="170" />
        <Label Content="Label" Height="28" HorizontalAlignment="Left" Margin="221,0,0,0" Name="label2" VerticalAlignment="Top" Width="222" />
        <Button Content="Open" Click="openBut_Click" Height="31" HorizontalAlignment="Left" Margin="1,26,0,0" Name="openBut" VerticalAlignment="Top" Width="75">
            <Button.Template>
                <ControlTemplate>
                    <Border BorderThickness="1" BorderBrush="Black">
                    <StackPanel Orientation="Horizontal">
                        <Image Source="/GA_SCHEDULER_WPF;component/Images/db_add-2.png" />
                        <Label Content="Open" />
                    </StackPanel>
                    </Border>
                </ControlTemplate>
            </Button.Template>
        </Button>
        <Button Content="Start" Click="startBut_Click" Height="31" HorizontalAlignment="Left" Margin="82,26,0,0" Name="startBut" VerticalAlignment="Top" Width="75" >
            <Button.Template>
                <ControlTemplate>
                    <Border BorderThickness="1" BorderBrush="Black">
                        <StackPanel Orientation="Horizontal">
                            <Image Source="/GA_SCHEDULER_WPF;component/Images/arrow-right-3.png" />
                            <Label Content="Start" />
                        </StackPanel>
                    </Border>
                </ControlTemplate>
            </Button.Template>
        </Button>
        <Button Content="Stop" Height="31" HorizontalAlignment="Left" Margin="163,26,0,0" Name="stopBut" VerticalAlignment="Top" Width="75" Click="stopBut_Click_1">
            <Button.Template>
                <ControlTemplate>
                    <Border BorderThickness="1" BorderBrush="Black">
                        <StackPanel Orientation="Horizontal">
                            <Image Source="/GA_SCHEDULER_WPF;component/Images/Record-Hot-icon.png" />
                            <Label Content="Stop" />
                        </StackPanel>
                    </Border>
                </ControlTemplate>
            </Button.Template>
        </Button>
        <Button Content="Save to db" Height="31" HorizontalAlignment="Left" Margin="244,26,0,0" Name="savdbBtn" VerticalAlignment="Top" Width="94" Click="savdbBtn_Click">
            <Button.Template>
                <ControlTemplate>
                    <Border BorderThickness="1" BorderBrush="Black">
                        <StackPanel Orientation="Horizontal">
                            <Image Source="/GA_SCHEDULER_WPF;component/Images/db_update-2.png" />
                            <Label Content="Save to db" />
                        </StackPanel>
                    </Border>
                </ControlTemplate>
            </Button.Template>
        </Button>
        <Button Content="Load from db" Height="31" HorizontalAlignment="Left" Margin="344,26,0,0" Name="button1" VerticalAlignment="Top" Width="86" Click="button1_Click" />
        <Button Content="Calculate" Height="31" HorizontalAlignment="Left" Margin="436,26,0,0" Name="button2" VerticalAlignment="Top" Width="87" Click="button2_Click" />
    </Grid>

</UserControl>
